<?php

include './../init.php';

if($_SERVER['HTTP_X_REQUESTED_WITH']  != 'XMLHttpRequest')
{
    exit;
}

if (!isset($_GET['entity']) || !isset($_GET['row']))
{
    exit;
}

$r = new EntityAdmin();
$r->deleteRow($_GET['entity'], $_GET['row']);
?>
